﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace MyTcpIp.displacement
{
    /// <summary>
    /// 
    /// </summary>
    [StructLayoutAttribute(LayoutKind.Sequential, Pack = 4)]
    public struct CHOrbitData
    {
        public UInt16 ChID;                                          //测点

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1026)]
        public float[] xCoordinate;                            // 轴心轨迹x轴

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1026)]
        public float[] yCoordinate;                            // 轴心轨迹y轴

        public float startX;                                       // 轴心原始位置X点
        public float startY;                                       // 轴心原始位置Y点
        public float currentX;                                     //  轴心当前位置X点
        public float currentY;										//  轴心当前位置Y点 

    }
}
